package com.mark.mall.web.platform.dto.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author admin
 * Created on 2021/3/3 15:49
 */
@Data
@ApiModel("前台会员修改密码")
public class MemberUpdateParam {
    @ApiModelProperty(value = "id")
    @NotEmpty(message = "会员id不能为空！")
    private String id;

    @ApiModelProperty(value = "新密码")
    @NotEmpty(message = "新密码不能为空！")
    private String newPassword;

    @ApiModelProperty(value = "旧密码")
    @NotEmpty(message = "旧密码不能为空！")
    private String oldPassword;
}
